﻿Imports Ninject.Modules

' Configures how abstract service types are mapped to concrete implementations
Public Class NinjectAsindoModule
    Inherits NinjectModule

    Public Sub New()
        MyBase.New()
    End Sub

    Public Overrides Sub Load()
        Bind(Of IMembershipRepository).To(Of EdmMembershipRepository)()
        Bind(Of IFormsAuthenticationRepository)().To(Of AspFormsAuthenticationRepository)()
        Bind(Of AsindoContext)().To(Of AsindoContext)().InRequestScope()
    End Sub
End Class

